introduced3Apple Event Interprocess Messaging Protocol (AEIMP)9Apple event object class. See object classes, Apple eventApple event objectsApple Event Registry\Standard Suites andStandard Suites andobject classes anddefinedhandlingsending and responding toApple Event Registry\Standard Suites.Apple events. See also Apple event attributes\AppleScript scripting languagescriptable applications and
supporting%client applications, for Apple events
introducedCore suite of Apple events#Edition Manager. See also editions\&functional-area suites of Apple events$interapplication communication (IAC)architecture, definedintroduction toprincipal methods ofrole of Apple eventsobject classes, Apple eventApple event objects and!Open Scripting Architecture (OSA)definedpublishers\recordable applications
introducedrequirements forRequired suite of Apple eventsscriptable applications*'aete' resource andscriptable applications'aete' resource and]'aete' resource and]AppleScript and
introducedrequirements for
introducedscripting languages/AppleScript. See AppleScript scripting language
supportingscripts
introducedmanipulating and executing%server applications, for Apple events
introducedSet Data eventhandlingsent during script executionsubscribers
introducedToy Surprise2and applications that execute scripts[Toy Surprise"applications that execute scripts]"applications that execute scripts]scriptable applications and&additional parameters for Apple eventsaddress descriptor recordsdefined
AE recordsdefined9relationship to other Apple Event Manager data structuresAEAddressDesc data typeAEDesc data typeAEDescList data typeAEKeyDesc data typeAEKeyword data typeAERecord data typeApple event attributesdefinedevent classes event IDsApple event dispatch tablesdefineddefinedtasks performed byApple Event Managerclassification ofcontainer hierarchy fordefined#described in Apple event parametersfindinghierarchy within an applicationobject specifier records andApple event parameters
additionalattributes and parameters forclient applications usingdata structures indefineddirectoptional
processingrequesting services throughrequiredresponding toserver applications usingApple event recordsdefined9relationship to other Apple Event Manager data structures.Apple events. See also Apple event attributes\AppleEvent data type%client applications, for Apple eventsdefined.container hierarchy, for an Apple event objectdefined#containers, for Apple event objects%described in object specifier recordscProperty as object class IDdescriptor listsdefined9relationship to other Apple Event Manager data structuresAdescriptor records. See also keyword-specified descriptor recordsdefined9relationship to other Apple Event Manager data structuresdescriptor typesdefinedDescType data type"direct parameters for Apple eventselements of Apple event objects3and element classes[elements of Apple event objectselement classes]element classes]event recordsevent classes inevent IDs in
extensionsof object classes[extensionsobject classes]object classes]3handlers for Apple events. See Apple event handlers%key data, in object specifier recordsdefined%key form, in object specifier recordsdefinedAkeyword-specified descriptor records. See also descriptor recordsdefinedkeywords for Apple eventsnull descriptor recordas default reply Apple eventobject class IDsin object specifier records"object class inheritance hierarchyOand classification of Apple event objectsclassification of Apple event objects]definedobject specifier recordsdefined resolvingOpen Documents eventillustration of responding to$optional parameters for Apple eventsdefined!properties of Apple event objectsdefined$required parameters for Apple eventsand object specifier recordsdefined%source applications, for Apple events'subclasses, in object class definitions)superclasses, in object class definitions%target applications, for Apple eventsdefinedzzcProperty constantzzdataHandle fieldzzdescContent fieldzzdescKey fieldzzdescriptorType field!'****' (wildcard) descriptor typeF'****' (wildcard) descriptor type[asterisk (wildcard) descriptor type]'SIZE' resource!use by Apple events[SIZE resourceuse by Apple events]use by Apple events]2deleting keyword-specified descriptor records fromgetting data out of!getting descriptor records out ofMgetting sizes and descriptor types of keyword-specified descriptor records inAEArrayData data typeAEArrayDataPointer data typeAEArrayType data typeAECoerceDesc functionAECoercePtr functionAECountItems functionAEDeleteItem functionAEDeleteKeyDesc functionAEDeleteParam functionAEDisposeDesc functionAEEventClass data typeAEEventID data typeAEEventSource data typeAEGetArray functionAEGetAttributeDesc functionAEGetAttributePtr functionAEGetCoercionHandler functionAEGetEventHandler function AEGetInteractionAllowed functionAEGetKeyDesc functionAEGetKeyPtr functionAEGetNthDesc functionAEGetNthPtr functionAEGetParamDesc functionAEGetParamPtr functionAEGetSpecialHandler functionAEGetTheCurrentEvent function!AEInstallCoercionHandler functionAEInstallEventHandler function AEInstallSpecialHandler functionAEInteractAllowed data typeAEInteractWithUser functionAEProcessAppleEvent function AERemoveCoercionHandler functionAERemoveEventHandler functionAERemoveSpecialHandler functionAEResetTimer function AEResumeTheCurrentEvent function AESetInteractionAllowed functionAESetTheCurrentEvent functionAESizeOfAttribute functionAESizeOfKeyDesc functionAESizeOfNthItem functionAESizeOfParam function!AESuspendTheCurrentEvent functiongetting data out of!getting descriptor records out ofgetting descriptor types ofgetting sizes ofinteraction levelmissed keywordoptional keywordApple event data structuresdisposing of
summarizedgetting entries frominstalling entries inremoving entries fromsystemadding to dispatch tables,called from the AEProcessAppleEvent functiongetting from dispatch tablesremoving from dispatch tableswritingroutines inuse of Notification Manager(user interaction with server application acceptingchecking for missing requireddeletingdetermining currentdispatchingdisposing oferror numbererror stringgetting data out of!getting descriptor records out ofgetting descriptor types ofgetting sizes ofhandlingOpen ApplicationPrint DocumentsQuit Application!relationship to high-level eventsreplying toReset Timerresuming handling ofsuspending handling ofdisposing ofgetting data out of!getting descriptor records out of$setting user interaction preferences&coercion handlers for descriptor typescounting descriptor records in deleting descriptor records fromdisposing ofgetting data out of!getting descriptor records out of;getting sizes and descriptor types of descriptor records incoercing data incounting in descriptor listsdisposing of'getting data out of, in descriptor list0getting descriptor types of, in descriptor listsgetting from attributesgetting from descriptor lists1getting from keyword-specified descriptor recordsgetting from parameters%getting sizes of, in descriptor listscoercingdetermining in AE recordsdetermining in Apple eventsdetermining in descriptor listsdispatch tables'for Apple event handlersdispatch tablesApple event handlers]Apple event handlers]$for coercion handlersdispatch tablescoercion handlers]coercion handlers]#for special handlersdispatch tablesspecial handlers]special handlers] File menuQuit command"Gestalt, selector for Apple events(high-level events. See also Apple events$handling when accepting Apple eventsisHighLevelEventAware flagkAEAlwaysInteract flagkAEAnswer event IDkAECanInteract flagkAECanSwitchLayer flagkAEInteractWithAll flagkAEInteractWithLocal flagkAEInteractWithSelf flagkAENeverInteract flagkAEQueueReply flagkAEWaitReply flagkeyAEEditionFileLoc keywordkeyErrorNumber keywordkeyErrorString keywordkeyEventSourceAttr keywordkeyInteractLevelAttr keywordkeyMissedKeywordAttr keywordkeyOptionalKeywordAttr keyworddeleting from AE recordsdisposing ofgetting data out of!getting descriptor records out ofgetting descriptor types ofgetting sizes ofkHighLevelEvent message classlocalAndRemoteHLEvents flagmenu commands,Quit (File menu), and Quit Application eventMyCoerceDesc functionMyCoercePtr functionMyEventHandler functionMyGotRequiredParams function%MyHandleCreatePublisherEvent functionMyHandleODoc functionMyHandlePDoc functionMyHandleQuit functionMyHandler functionNotification Managerused by the Apple Event Managerobject callback functions#special handler dispatch tables andObject Support Library disablingOpen Application eventhandlinghandlingPrint Documents eventhandlingprogram linking'to server applications for Apple eventsQuit Application eventhandlingQuit command and Quit Application Apple eventreference constantexample of use*for Apple event handler[reference constantApple event handler]Apple event handler]disposing oftimeouts forrequired Apple eventsReset Timer eventsample routinesDoEventDoHighLevelEventMyGotRequiredParamsMyHandleCreatePublisherEventMyHandleODocMyHandlePDocMyHandleQuit MyHandlerMyMultHandler SectionEventMsgClass event class$setting user interaction preferencesuser interaction withApple events sent by0installing entries in Apple event dispatch table!system Apple event dispatch tablesystem coercion dispatch table&timeouts for interacting with the usertimeouts for reply Apple eventstypeWildCard descriptor typeuser interaction
requesting*setting preferences for client application*setting preferences for server applicationzzAEDataArray fieldzzAEDescArray fieldzzAEHandleArray fieldzzAEKeyDescArray fieldzzAEPackedArray field zzisHighLevelEventAware constantzzkAEAlwaysInteract constantzzkAEAnswer constantzzkAECanInteract constantzzkAECanSwitchLayer constantzzkAEDefaultTimeout constantzzkAEIDoMarking constantzzkAEIDoMinimum constantzzkAENeverInteract constantzzkAENoDispatch constantzzkAEQueueReply constant!zzkAEUseStandardDispatch constantzzkAEWaitReply constantzzkeyAEEditionFileLoc constantzzkeyErrorNumber constantzzkeyErrorString constantzzkeyMissedKeywordAttr constant!zzkeyOptionalKeywordAttr constantzzkeyPreDispatch constantzzkeySelectProc constantzzkHighLevelEvent constantzzkNoTimeOut constant!zzlocalAndRemoteHLEvents constantzzSectionEventMsgClass constantzztypeWildCard constant'miss' keyword[miss keyword]'optk' keywordoptk keyword]adding to an Apple event1for direct dispatching[address descriptor recordsdirect dispatching]direct dispatching]adding data to.adding keyword-specified descriptor records tocreatingAECreateAppleEvent functionAECreateDesc functionAECreateList functionAEDuplicateDesc functionAEPutArray functionAEPutAttributeDesc functionAEPutAttributePtr functionAEPutDesc functionAEPutKeyDesc functionAEPutKeyPtr functionAEPutParamDesc functionAEPutParamPtr functionAEPutPtr functionAESend functionAESendPriority data typeadding to Apple events,setting with the AECreateAppleEvent functiontarget addresstimeoutaddingaddresses forcreatingreply. See reply Apple eventssendingsending to the current processadding descriptor records toadding items tocreatingadding as attributesadding as parametersadding to descriptor listscreatingduplicatingevents. See also Apple events.processing while waiting for reply Apple event.processing while waiting for reply Apple event0idle functions for Apple Event Manager functionskAEDontReconnect flagkAEHighPriority flagkAENoReply flagkAENormalPriority flagkAEWantReceipt flagkeyTimeoutAttr keywordadding to AE records MyCreateOptionalKeyword functionMyGetTargetAddress functionMyIdleFunction functionMySendMultiplyEvent functionMySetTargetAddresses procedureMyWaitReplyFilter function
specifyingPPCBrowser functionuse with Apple eventsreply Apple events"filter functions while waiting fortimeouts for#required paramters for Apple eventsEand keyOptionalKeywordAttr attributekeyOptionalKeywordAttr attribute]MyCreateOptionalKeywordMyGetTargetAddressMyIdleFunctionMySendMultiplyEventMySetTargetAddressessendMode flags for AESend target addresses of Apple events!typeApplSignature descriptor type'typeProcessSerialNumber descriptor typetypeSessionID descriptor typetypeTargetID descriptor typeWaitNextEvent functionuse by the Apple Event ManagerzzkAEDonReconnect constantzzkAEHighPriority constantzzkAENoReply constantzzkAENormalPriority constantzzkAEWantReceipt constantzzkAnyTransactionID constantzzkAutoGenerateReturnIDzzkCurrentProcess constantzzkeyTimeoutAttr constantzztypeApplSignature constant"zztypeProcessSerialNumber constantzztypeSessionID constantzztypeTargetID constantAECallObjectAccessor functionAEDisposeToken functionAEGetObjectAccessor function AEInstallObjectAccessor functionAEObjectInit functionAERemoveObjectAccessor functionAEResolve functionAESetObjectCallbacks functionObject Support Library and#object accessor functions that find
tokens forboundary objects%specified in range descriptor records+specified in whose range descriptor recordsccntTokenRecord data typecomparison descriptor recordcomparison operators forcreatingdefined*complex object specifier records, creating%described in object specifier recordsfor formTest
specifyingdefault
specifyingspecifying for a rangeCreateCompDescriptor function CreateLogicalDescriptor functionCreateObjSpecifier functionCreateOffsetDescriptor functionCreateRangeDescriptor function,for object accessor functionsdispatch tablesobject accessor functions]object accessor functions]formAbsolutePosition key formformName key formformPropertyID key formkey data for
specifyingformRange key form
specifyingformRelativePosition key form
specifyingformTest key formkey data for
specifyingformWhose key formGet Data event4illustration of resolving object specifier record in4sample object accessor functions called by AEResolvefor formAbsolutePositionfor formNameIDfor formPropertyIDfor formTestfor formWhose
specifying
specifyingkeyAEContainer keywordkeyAEDesiredClass keywordlogical descriptor recordcreatingdefinedmark token functionmark-adjusting functionmarking callback functionsMyAdjustMarks functionMyCompareObjects functionMyCountObjects function"MyCreateComparisonDescRec functionMyCreateDocContainer function%MyCreateFormNameObjSpecifier functionMyCreateLogicalDescRec functionMyCreateObjSpecRec function MyCreateRangeDescriptor functionMyCreateTableContainer functionMyDisposeToken function%MyFindDOcumentObjectAccessor function!MyFindParaObjectAccessor function-MyFindPropertyOfWindowObjectAccessor function#MyFindWindowObjectAccessor function!MyFindWordObjectAccessor functionMyGetMarkToken functionMyMark functionMyObjectAccessor functionMyRequestRowFromTarget functionnested vs. free-standing!used to specify default containerobject accessor dispatch tablesdefinedgetting entries frominstalling entries inremoving entries fromsystemobject accessor functionsadding to dispatch tablescallingdefinedexamples'for propertiesobject accessor functionsproperties]properties]getting from dispatch tablesremoving from dispatch tableswhose descriptor records andwritingdefinedmark token functionmark-adjusting functionmarking callback functionsobject comparison functionobject-counting functionobject-marking function
specifyingtoken disposal functionwritingobject comparison functioncomplexcreating"resolving, illustration that showssimple, creatingspecifying a propertyspecifying a rangespecifying a relative positionspecifying a test"specifying the container hierarchyinitializinglinkingobject-counting functionobject-marking function"offset descriptor record, creating#object accessor functions that find(specifying in an object specifier recordrange descriptor recordscreating/for object accessor function[reference constantobject accessor function]object accessor function]MyCompareObjectsMyCountObjectsMyCreateComparisonDescRecMyCreateDocContainerMyCreateFormNameObjSpecifierMyCreateLogicalDescRecMyCreateObjSpecRecMyCreateRangeDescriptorMyCreateTableContainerMyFindDocumentObjectAccessorMyFindParaObjectAccessor$MyFindPropertyOfWIndowObjectAccessorMyFindWindowObjectAccessorMyFindWordObjectAccessorMyRequestRowFromTargetsimple object specifier recordscreating%system object accessor dispatch tabletoken disposal functiondefinedmarking callback functions andtokens, for Apple event objectsdefineddefining descriptor types forobject accessor functions andranges of text and#typeAbsoluteOrdinal descriptor type"typeCompDescriptor descriptor type$typeCurrentContainer descriptor type%typeLogicalDescriptor descriptor type#typeObjectSpecifier descriptor type#typeWhoseDescriptor descriptor typetypeWhoseRange descriptor typewhose descriptor recordswhose range descriptor recordszzformAbsolutePosition constantzzformName constantzzformPropertyID constantzzformTest constantzzformWhose constantzzkAEBeginsWith constantzzkAEContains constantzzkAEEndsWith constantzzkAEEquals constantzzkAEGreaterThan constantzzkAEGreaterThanEquals constantzzkAEIDoWhose constantzzkAELessThan constantzzkAELessThanEquals constantzzkeyAEContainer constantzzkeyAEDesiredClass constantzztoken fieldzztokenClass fieldzztypeAbsoluteOrdinal constantzztypeCompDescriptor constantzztypeCurrentContainer constant zztypeLogicalDescriptor constantzztypeNull constantzztypeObjectSpecifier constantzztypeWhoseDescriptor constantzztypeWhoseRange constantdefinedaete resourcedefined]defined]dynamic loading ofaete resourcedynamic loading of]dynamic loading of]role of]role ofaeut resourcerole of]0'aplt' creator signature[aplt creator signature] 'APPL' file type[APPL file type]0'dplt' creator signature[dplt creator signature])'scpt' resource type[scpt resource type] 'scpt' file type[scpt file type]:Apple event user terminology resource. See 'aeut' resourceAppleScript scripting languagedefineddialects, definedapplet%client applications, for Apple events>and scripting components[client applications, for Apple eventsscripting components]scripting components]compiled scriptsdefined+dialects, of AppleScript scripting languagedefineddroplet$factoring, for Apple event recordingGet AETE event
introducedGet Data eventsent by AppleScript componentMove Apple event%modified by handler in script context!Open Scripting Architecture (OSA):and scripting components[Open Scripting Architecture (OSA)scripting components]scripting components]recordable applicationsdefinedrequirements forresume dispatch functiondefinedscript applicationappletdropletscript commentscript contextdefined executing Apple event handler in
introducedscript datadefinedscript editorsdefinedscript file script IDdefinedscript text filescript valuedefineddefinedscripting components/and scriptable applicationsscripting componentsscriptable applications]scriptable applications]definedroutines for, overview ofdefinedmanipulating and executingsent by AppleScript componentsource data, for scriptsdefined"terminology resources, Apple eventand AppleScriptdefinedscript window forcreatingaete resource creating] creating]#supporting new suites[aete resourcesupporting new suites]supporting new suites]7supporting standard suites with extensionsaete resource+supporting standard suites with extensions]+supporting standard suites with extensions]*supporting subsets of suites[aete resourcesupporting subsets of suites]supporting subsets of suites]comparison operators array]elements array[aeut resourceelements array]elements array]enumerations arrayaeut resourceenumerations array]enumerations array]events arrayaeut resourceevents array]events array]header data[aeut resourceheader data]header data]"object classes array[aeut resourceobject classes array]object classes array]properties arrayaeut resourceproperties array]properties array]&resource type declarationaeut resourceresource type declaration]resource type declaration]suites array[aeut resourcesuites array]suites array]Get AETE eventhandling$insertion location descriptor recorddefined recordingCreate Element event handler$factoring, for Apple event recording File menuNew commandQuit command%sending events without executing themwindow movementkAEDontExecute flagMyDoDragWindow procedureMyDoMenuNew procedureMyDoMenuQuit procedureMyHandleCreateElement functionMySendAECreateElement functionMySendAEQuit function factoringguidelines for what to recordMyDoDragWindowMyDoMenuNewMyDoMenuQuitMyHandleCreateElementMySendAECreateElementMySendAEQuit'and Apple event recordingscript editorsApple event recording]Apple event recording]-and Apple event recordingscripting componentsApple event recording]zzkAEDontExecute constant0'dplt' creator signature[dplt creator signature],'erng' descriptor type[erng descriptor type])'osa ' component type[osa component type]0'scpt' component subtype[scpt component subtype]('scpt' resource type[scpt resource type]'srce' keyword[srce keyword]'srcs' keyword[srcs keyword]active functionroutines for manipulatingsupplying an alternative#AECreateAppleEventProcPtr data typeAECreateProcPtr functionAESendProcPtr data typeAESendProcPtr function#AppleScript component, routines forASGetSourceStyleNames functionASGetSourceStyles functionASInit functionASSetSourceStyles functioncompiled scriptsmodifying and recompiling9compiling, routines for scripting components that support;component description record, scripting component flags forcomponent instance record4component instance, and scripting component routinesComponent Manager+opening connection with scripting component$component-specific descriptor recorddefined!ComponentInstanceRecord data typecreate functionroutines for manipulatingsupplying an alternativeFerrors in script compilation or execution, obtaining information aboutFindNextComponent functiongeneric scripting componentname of component, obtainingopening a connection to!generic storage descriptor recorddefined!routines for manipulating trailerkeyOSASourceEnd keywordkeyOSASourceStart keyword kOASComponentType component typekOASComponentType constant6kOSAGenericScriptingComponentSubtype component subtype&kOSAGenericStorageType descriptor typekOSAScriptResourceType resourcekOSASupportsAECoercion flagkOSASupportsAESending flagkOSASupportsCoercion flagkOSASupportsCompiling flagkOSASupportsDialects flagkOSASupportsGetSource flagkOSASupportsRecording flagkOSASupportsTinkering flagkOSASupportsWindowEditing flagMyActiveProc functionMyAECreateProc functionMyAESendProc functionMyConnectToScripting functionMyDoNewScript procedureMyEditGenericScript procedure#MyGeneralAppleEventHandler functionMyGetScriptErrorInfo procedureMyLoadAndExecute procedureMyResumeDispatch functionOpenComponent functionOpenDefaultComponent functionOSAActive functionOSAActiveProcPtr data typeOSAAddStorageType functionOSAAvailableDialects functionOSACoerceFromDesc functionOSACoerceToDesc functionOSACompile functionOSACompileExecute functionOSACopyID functionOSADisplay functionOSADispose functionOSADoEvent functionOSADoScript function#OSAExactScriptingComponent functionOSAExecute functionOSAExecuteEvent functionOSAGetActiveProc functionOSAGetCreateProc functionOSAGetCurrentDialect function!OSAGetResumeDispatchProc functionOSAGetScriptInfo functionOSAGetSendProc functionOSAGetSource functionOSAGetStorageType functionOSALoad functionOSALoadExecute functionOSAMakeContext functionOSARemoveStorageType functionOSAScriptError function"OSAScriptingComponentName functionOSASetActiveProc functionOSASetCreateProc functionOSASetCurrentDialect function!OSASetResumeDispatchProc functionOSASetScriptInfo functionOSASetSendProc functionOSAStartRecording functionOSAStopRecording functionOSAStore functionRecorded Text eventrecording scriptsroutines forresume dispatch handlerexample of useMyConnectToScriptingMyDoNewScriptMyEditGenericScriptMyGeneralAppleEventHandlerMyGetScriptErrorInfoMyLoadAndExecutecreator signature forscript application filecreator signature forresources for.executing Apple event handler in, routines forused for global contextcoercing descriptor record tocoercing to descriptor recorddisposing of executinggetting handle toloading and executingresource and file types for saving and loading, routines forsaving, overview of%setting and getting information aboutstorage formats forupdatingcoercing to readable textcoercion of, routines for(application-defined functions for use by%connecting with via Component Manager&flags for component description recordoptional routines forrequired routines forroutines used bywriting#executing in one step, routines formultithreaded execution of"recording, Recorded Text event andrecording, routines forsend functionroutines for manipulatingsupplying an alternative3AppleScript routines for getting and setting styles compilingcompiling and executingobtaining from script data!typeOSAErrorRange descriptor type%typeOSAGenericStorage descriptor typeXCMDas a scriptzzdata fieldzzkeyOSASourceEnd constantzzkeyOSASourceStart constantzzkOASNullScript constant/zzkOSAGenericScriptingComponentSubtype constant!zzkOSAGenericStorageType constant!zzkOSAScriptResourceType constant!zzkOSASupportsAECoercion constant zzkOSASupportsAESending constantzzkOSASupportsCoercion constant zzkOSASupportsCompiling constantzzkOSASupportsDialects constant zzkOSASupportsGetSource constant zzkOSASupportsRecording constant zzkOSASupportsTinkering constant$zzkOSASupportsWindowEditing constantzztypeOSAErrorRange constant zztypeOSAGenericStorage constant